﻿using System;

namespace enyo
{
    public class Stateful : Control
    {
        /// <summary>
        /// default is enyo
        /// </summary>
        public string CssNamespace { get; set; }

        /// <summary>
        /// Adds or removes a CSS state class specified by inState. 
        /// If value is true, the class is added; if false, it is removed. 
        /// The CSS class name is formed by combining the value of the cssNamespace property, a "-" character, and the value of state. 
        /// For example:
        /// this.$.stateful.setState("down", true);
        /// With the default cssNamespace of "enyo", this applies the CSS class "enyo-down" to this control. Note that multiple state classes may be applied.
        /// </summary>
        /// <param name="state"></param>
        /// <param name="value"></param>
        public void SetState(string state, object value)
        {
        }
    }
}
